#ifndef __RESULT__LAYER_H__
#define __RESULT__LAYER_H__
#include "cocos2d.h"

USING_NS_CC;

namespace gofgame {
	namespace dungeonkeeper {
		namespace game {
			class ResultLayer :public CCLayerColor{
			public:
				bool init();
				CREATE_FUNC(ResultLayer);
				void setResult(bool success,int rank,int nextLevel);
			public:
				CCLabelTTF *label;
				CCSprite *star1;
				CCSprite *star2;
				CCSprite *star3;
			public:
				void onClickMainMenu(CCObject *psender);
				void onClickRestart(CCObject *psender);
				void onClickRefresh(CCObject *psender);
			};
		}
	}
}

#endif //__RESULT__LAYER_H__
